]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
a11y: Adjust schemas for screen keyboard
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 17 Feb 2011 19:45:17 +0000 (20:45 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 17 Feb 2011 19:46:16 +0000 (20:46 +0100)
The setting in org.gnome.desktop.default-applications.at
has been removed, use the corresponding setting in
org.gnome.desktop.a11y.applications instead.

js/ui/status/accessibility.js

index b42069fc9f3ab48be24118290b4879dd43366569..b5b6cdbe1eeb76b5ee63d0c339e3c4508b6f324d 100644 (file)
@@ -24,7 +24,6 @@ const KEY_SLOW_KEYS_ENABLED   = 'slowkeys-enable';
 const KEY_MOUSE_KEYS_ENABLED  = 'mousekeys-enable';
 
 const APPLICATIONS_SCHEMA = 'org.gnome.desktop.a11y.applications';
-const AT_SCREEN_KEYBOARD_SCHEMA = 'org.gnome.desktop.default-applications.at.mobility';
 
 const XSETTINGS_SCHEMA = 'org.gnome.settings-daemon.plugins.xsettings';
 const KEY_DPI = 'dpi';
@@ -90,7 +89,8 @@ ATIndicator.prototype = {
                                                                'screen-reader-enabled');
         this.menu.addMenuItem(screenReader);
 
-        let screenKeyboard = this._buildItem(_("Screen Keyboard"), AT_SCREEN_KEYBOARD_SCHEMA, 'startup');
+        let screenKeyboard = this._buildItem(_("Screen Keyboard"), APPLICATIONS_SCHEMA,
+                                                                   'screen-keyboard-enabled');
         this.menu.addMenuItem(screenKeyboard);
 
         let visualBell = this._buildItemGConf(_("Visual Alerts"), client, KEY_VISUAL_BELL);